

<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
    <style>
    /* base */
    html,
    body,
    .container {
      width: 100%;
      height: 100%;
    }

    a,
    a:link,
    a:visited {
      text-decoration: none;
      color: inherit;
    }

    ul {
      list-style: none;
    }

    *,
    ::before,
    ::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    *:focus {
      outline: 0;
    }

    .container {
      display: flex;
      padding-top: 20px;
    }

    /* Nav */
    .container .doc-nav {
      position: fixed;
      height: 100%;
      margin: 0 30px 0 40px;
      width: 280px;
    }

    .doc-nav .nav-header {
      display: flex;
      align-items: center;
      box-sizing: border-box;
      background-color: rgb(240, 241, 242);
      height: 40px;
      padding: 16px;
      font-size: 18px;
      font-weight: 500;
      color: rgb(62, 64, 66);
      cursor: pointer;
    }

    .doc-nav .nav-content {
      height: calc(100% - 40px);
      overflow-y: auto;
      color: rgb(32, 34, 36);
    }

    .doc-nav .nav-content .nav-list,
    .doc-nav .nav-content .nav-sub-list {
      line-height: 1.5rem;
    }

    .doc-nav .nav-content .nav-label {
      display: inline-block;
      position: relative;
      padding: 2px 0 2px 20px;
      margin-bottom: 4px;
    }

    .doc-nav .nav-content .nav-sub-label {
      position: relative;
      padding: 2px 0 2px 40px;
      font-size: 14px;
    }

    .doc-nav .nav-content .nav-sub-label:hover {
      text-decoration: underline;
    }

    .doc-nav .nav-content .nav-list .nav-label.group::before {
      border-bottom: 0.25rem solid transparent;
      border-left: 0.25rem solid #6e7072;
      border-right: 0;
      border-top: 0.25rem solid transparent;
      content: '';
      display: block;
      height: 0;
      left: 0.5rem;
      position: absolute;
      top: 0.625rem;
      transition: transform 0.1s linear;
      width: 0;
    }

    .doc-nav .nav-content .nav-list .nav-label.group.active::before {
      transform: rotate(90deg);
    }

    /* doc content */
    .container .doc-content {
      position: fixed;
      height: 100%;
      width: calc(100% - 80px - 40px - 30px - 240px);
      right: 0%;
      overflow-y: auto;
    }

    .doc-title {
      border-bottom: 1px solid #dcdee0;
      font-size: 22px;
      margin: 8px 0 0;
      padding-bottom: 16px;
    }

    .doc-content h3 {
      font-size: 24px;
      font-weight: 600;
      margin: 24px 0;
    }

    .doc-content h4 {
      font-size: 22px;
      font-weight: 500;
      margin: 30px 0 8px;
    }

    .doc-content h4 span {
      color: #007d9c;
    }

    .doc-content .doc-declare {
      background-color: #fafafa;
      border-radius: 5px;
      border: 1px solid #ccc;
      font-size: 14px;
      overflow-x: auto;
      padding: 10px;
      tab-size: 4;
      line-height: 20px;
    }

    .doc-content .doc-comment {
      font-size: 16px;
      margin: 16px 0;
      line-height: 24px;
      word-break: break-word;
    }
  </style>

</head>
<body>
  <div class="container">
    <div class="doc-nav">
      <a href="#Documentation" class="nav-header">Documentation</a>
      <nav class="nav-content">
        <ul class="nav-list">
          <li>
            <a href="#includes" class="nav-label">Includes</a>
             
            <ul class="nav-sub-list">

              <li>
                <a href="#lwip/opt.h" class="nav-sub-label">lwip/opt.h</a>
              </li>
      

              <li>
                <a href="#lwip/arch.h" class="nav-sub-label">lwip/arch.h</a>
              </li>
      

              <li>
                <a href="#lwip/ip_addr.h" class="nav-sub-label">lwip/ip_addr.h</a>
              </li>
      

              <li>
                <a href="#lwip/err.h" class="nav-sub-label">lwip/err.h</a>
              </li>
      

              <li>
                <a href="#lwip/sys.h" class="nav-sub-label">lwip/sys.h</a>
              </li>
      

              <li>
                <a href="#lwip/igmp.h" class="nav-sub-label">lwip/igmp.h</a>
              </li>
      

              <li>
                <a href="#lwip/api.h" class="nav-sub-label">lwip/api.h</a>
              </li>
      

              <li>
                <a href="#lwip/priv/tcpip_priv.h" class="nav-sub-label">lwip/priv/tcpip_priv.h</a>
              </li>
      
            </ul>
            
          </li>
          <li>
            <a href="#macros" class="nav-label">Macros</a>
             
            <ul class="nav-sub-list">

              <li>
                <a href="#LWIP_HDR_API_MSG_H" class="nav-sub-label">LWIP_HDR_API_MSG_H</a>
              </li>
      

              <li>
                <a href="#API_MSG_M_DEF_SEM(m)" class="nav-sub-label">API_MSG_M_DEF_SEM(m)</a>
              </li>
      

              <li>
                <a href="#API_MSG_M_DEF_SEM(m)" class="nav-sub-label">API_MSG_M_DEF_SEM(m)</a>
              </li>
      

              <li>
                <a href="#API_MSG_M_DEF_SEM(m)" class="nav-sub-label">API_MSG_M_DEF_SEM(m)</a>
              </li>
      

              <li>
                <a href="#NETCONN_SHUT_RD" class="nav-sub-label">NETCONN_SHUT_RD</a>
              </li>
      

              <li>
                <a href="#NETCONN_SHUT_WR" class="nav-sub-label">NETCONN_SHUT_WR</a>
              </li>
      

              <li>
                <a href="#NETCONN_SHUT_RDWR" class="nav-sub-label">NETCONN_SHUT_RDWR</a>
              </li>
      

              <li>
                <a href="#LWIP_API_MSG_SEM(msg)" class="nav-sub-label">LWIP_API_MSG_SEM(msg)</a>
              </li>
      

              <li>
                <a href="#LWIP_API_MSG_SEM(msg)" class="nav-sub-label">LWIP_API_MSG_SEM(msg)</a>
              </li>
      

              <li>
                <a href="#NETIFAPI_IPADDR_DEF(type, m)" class="nav-sub-label">NETIFAPI_IPADDR_DEF(type, m)</a>
              </li>
      

              <li>
                <a href="#NETIFAPI_IPADDR_DEF(type, m)" class="nav-sub-label">NETIFAPI_IPADDR_DEF(type, m)</a>
              </li>
      
            </ul>
            
          </li>
          <li>
            <a href="#functions" class="nav-label">Functions</a>
             
            <ul class="nav-sub-list">

              <li>
                <a href="#lwip_netconn_is_deallocated_msg" class="nav-sub-label">lwip_netconn_is_deallocated_msg</a>
              </li>
      

              <li>
                <a href="#lwip_netconn_is_err_msg" class="nav-sub-label">lwip_netconn_is_err_msg</a>
              </li>
      

              <li>
                <a href="#lwip_netconn_do_join_leave_group" class="nav-sub-label">lwip_netconn_do_join_leave_group</a>
              </li>
      

              <li>
                <a href="#lwip_netconn_do_join_leave_group_netif" class="nav-sub-label">lwip_netconn_do_join_leave_group_netif</a>
              </li>
      

              <li>
                <a href="#lwip_netconn_do_gethostbyname" class="nav-sub-label">lwip_netconn_do_gethostbyname</a>
              </li>
      

              <li>
                <a href="#netconn_free" class="nav-sub-label">netconn_free</a>
              </li>
      
            </ul>
            
          </li>
          <li>
            <a href="#vars" class="nav-label">Vars</a>
             
            <ul class="nav-sub-list">

              <li>
                <a href="#op_completed_sem" class="nav-sub-label">op_completed_sem</a>
              </li>
      

              <li>
                <a href="#lwip_netconn_do_newconn" class="nav-sub-label">lwip_netconn_do_newconn</a>
              </li>
      

              <li>
                <a href="#lwip_netconn_do_delconn" class="nav-sub-label">lwip_netconn_do_delconn</a>
              </li>
      

              <li>
                <a href="#lwip_netconn_do_bind" class="nav-sub-label">lwip_netconn_do_bind</a>
              </li>
      

              <li>
                <a href="#lwip_netconn_do_bind_if" class="nav-sub-label">lwip_netconn_do_bind_if</a>
              </li>
      

              <li>
                <a href="#lwip_netconn_do_connect" class="nav-sub-label">lwip_netconn_do_connect</a>
              </li>
      

              <li>
                <a href="#lwip_netconn_do_disconnect" class="nav-sub-label">lwip_netconn_do_disconnect</a>
              </li>
      

              <li>
                <a href="#lwip_netconn_do_listen" class="nav-sub-label">lwip_netconn_do_listen</a>
              </li>
      

              <li>
                <a href="#lwip_netconn_do_send" class="nav-sub-label">lwip_netconn_do_send</a>
              </li>
      

              <li>
                <a href="#lwip_netconn_do_recv" class="nav-sub-label">lwip_netconn_do_recv</a>
              </li>
      

              <li>
                <a href="#lwip_netconn_do_accepted" class="nav-sub-label">lwip_netconn_do_accepted</a>
              </li>
      

              <li>
                <a href="#lwip_netconn_do_write" class="nav-sub-label">lwip_netconn_do_write</a>
              </li>
      

              <li>
                <a href="#lwip_netconn_do_getaddr" class="nav-sub-label">lwip_netconn_do_getaddr</a>
              </li>
      

              <li>
                <a href="#lwip_netconn_do_close" class="nav-sub-label">lwip_netconn_do_close</a>
              </li>
      

              <li>
                <a href="#lwip_netconn_do_shutdown" class="nav-sub-label">lwip_netconn_do_shutdown</a>
              </li>
      

              <li>
                <a href="#netconn" class="nav-sub-label">netconn</a>
              </li>
      
            </ul>
            
          </li>
          <li>
            <a href="#consts" class="nav-label">Consts</a>
            
            <ul class="nav-sub-list">
            
            </ul>
            
          </li>
          <li>
            <a href="#types" class="nav-label">Types</a>
            
            <ul class="nav-sub-list">
            
            </ul>
            
          </li>
          <li>
            <a href="#typedefs" class="nav-label">Typedefs</a>
             
            <ul class="nav-sub-list">

              <li>
                <a href="#netifapi_void_fn" class="nav-sub-label">netifapi_void_fn</a>
              </li>
      

              <li>
                <a href="#netifapi_errt_fn" class="nav-sub-label">netifapi_errt_fn</a>
              </li>
      
            </ul>
            
          </li>
        </ul>
      </nav>
    </div>
    <div class="doc-content">
      <h2 id="Documentation" class="doc-title">Documentation</h2>
      <h3 id="includes">Includes</h3>
      

      <h4 id="lwip/opt.h"><span>lwip/opt.h</span></h4>
      <pre class="doc-declare"><code>#include "lwip/opt.h"
</code></pre>
      <pre class="doc-comment">#include "lwip/opt.h"
</pre>

      <h4 id="lwip/arch.h"><span>lwip/arch.h</span></h4>
      <pre class="doc-declare"><code>#include "lwip/arch.h"
</code></pre>
      <pre class="doc-comment">#include "lwip/arch.h"
</pre>

      <h4 id="lwip/ip_addr.h"><span>lwip/ip_addr.h</span></h4>
      <pre class="doc-declare"><code>#include "lwip/ip_addr.h"
</code></pre>
      <pre class="doc-comment">#include "lwip/ip_addr.h"
</pre>

      <h4 id="lwip/err.h"><span>lwip/err.h</span></h4>
      <pre class="doc-declare"><code>#include "lwip/err.h"
</code></pre>
      <pre class="doc-comment">#include "lwip/err.h"
</pre>

      <h4 id="lwip/sys.h"><span>lwip/sys.h</span></h4>
      <pre class="doc-declare"><code>#include "lwip/sys.h"
</code></pre>
      <pre class="doc-comment">#include "lwip/sys.h"
</pre>

      <h4 id="lwip/igmp.h"><span>lwip/igmp.h</span></h4>
      <pre class="doc-declare"><code>#include "lwip/igmp.h"
</code></pre>
      <pre class="doc-comment">#include "lwip/igmp.h"
</pre>

      <h4 id="lwip/api.h"><span>lwip/api.h</span></h4>
      <pre class="doc-declare"><code>#include "lwip/api.h"
</code></pre>
      <pre class="doc-comment">#include "lwip/api.h"
</pre>

      <h4 id="lwip/priv/tcpip_priv.h"><span>lwip/priv/tcpip_priv.h</span></h4>
      <pre class="doc-declare"><code>#include "lwip/priv/tcpip_priv.h"
</code></pre>
      <pre class="doc-comment">#include "lwip/priv/tcpip_priv.h"
</pre>
      <h3 id="macros">Macros</h3>
      

      <h4 id="LWIP_HDR_API_MSG_H">Marco <span>LWIP_HDR_API_MSG_H</span></h4>
      <pre class="doc-declare"><code>#define LWIP_HDR_API_MSG_H
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="API_MSG_M_DEF_SEM(m)">Marco <span>API_MSG_M_DEF_SEM(m)</span></h4>
      <pre class="doc-declare"><code>#define API_MSG_M_DEF_SEM(m) *m
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="API_MSG_M_DEF_SEM(m)">Marco <span>API_MSG_M_DEF_SEM(m)</span></h4>
      <pre class="doc-declare"><code>#define API_MSG_M_DEF_SEM(m) API_MSG_M_DEF(m)
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="API_MSG_M_DEF_SEM(m)">Marco <span>API_MSG_M_DEF_SEM(m)</span></h4>
      <pre class="doc-declare"><code>#define API_MSG_M_DEF_SEM(m) API_MSG_M_DEF(m)
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="NETCONN_SHUT_RD">Marco <span>NETCONN_SHUT_RD</span></h4>
      <pre class="doc-declare"><code>#define NETCONN_SHUT_RD  1
</code></pre>
      <pre class="doc-comment">/* For the netconn API, these values are use as a bitmask! */</pre>

      <h4 id="NETCONN_SHUT_WR">Marco <span>NETCONN_SHUT_WR</span></h4>
      <pre class="doc-declare"><code>#define NETCONN_SHUT_WR  2
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="NETCONN_SHUT_RDWR">Marco <span>NETCONN_SHUT_RDWR</span></h4>
      <pre class="doc-declare"><code>#define NETCONN_SHUT_RDWR (NETCONN_SHUT_RD | NETCONN_SHUT_WR)
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="LWIP_API_MSG_SEM(msg)">Marco <span>LWIP_API_MSG_SEM(msg)</span></h4>
      <pre class="doc-declare"><code>#define LWIP_API_MSG_SEM(msg)         ((msg)->op_completed_sem)
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="LWIP_API_MSG_SEM(msg)">Marco <span>LWIP_API_MSG_SEM(msg)</span></h4>
      <pre class="doc-declare"><code>#define LWIP_API_MSG_SEM(msg)         (&(msg)->conn->op_completed)
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="NETIFAPI_IPADDR_DEF(type, m)">Marco <span>NETIFAPI_IPADDR_DEF(type, m)</span></h4>
      <pre class="doc-declare"><code>#define NETIFAPI_IPADDR_DEF(type, m) type m
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="NETIFAPI_IPADDR_DEF(type, m)">Marco <span>NETIFAPI_IPADDR_DEF(type, m)</span></h4>
      <pre class="doc-declare"><code>#define NETIFAPI_IPADDR_DEF(type, m) const type * m
</code></pre>
      <pre class="doc-comment"></pre>
      <h3 id="functions">Functions</h3>
      

      <h4 id="lwip_netconn_is_deallocated_msg">Func <span>lwip_netconn_is_deallocated_msg</span></h4>
      <pre class="doc-declare"><code>int lwip_netconn_is_deallocated_msg(void *msg);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="lwip_netconn_is_err_msg">Func <span>lwip_netconn_is_err_msg</span></h4>
      <pre class="doc-declare"><code>int lwip_netconn_is_err_msg(void *msg, err_t *err);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="lwip_netconn_do_join_leave_group">Func <span>lwip_netconn_do_join_leave_group</span></h4>
      <pre class="doc-declare"><code>void lwip_netconn_do_join_leave_group(void *m);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="lwip_netconn_do_join_leave_group_netif">Func <span>lwip_netconn_do_join_leave_group_netif</span></h4>
      <pre class="doc-declare"><code>void lwip_netconn_do_join_leave_group_netif(void *m);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="lwip_netconn_do_gethostbyname">Func <span>lwip_netconn_do_gethostbyname</span></h4>
      <pre class="doc-declare"><code>void lwip_netconn_do_gethostbyname(void *arg);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="netconn_free">Func <span>netconn_free</span></h4>
      <pre class="doc-declare"><code>void netconn_free(struct netconn *conn);</code></pre>
      <pre class="doc-comment"></pre>
      <h3 id="vars">Vars</h3>
      

      <h4 id="op_completed_sem">Variable <span>op_completed_sem</span></h4>
      <pre class="doc-declare"><code>sys_sem_t* op_completed_sem;</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="lwip_netconn_do_newconn">Variable <span>lwip_netconn_do_newconn</span></h4>
      <pre class="doc-declare"><code>void lwip_netconn_do_newconn        (void *m);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="lwip_netconn_do_delconn">Variable <span>lwip_netconn_do_delconn</span></h4>
      <pre class="doc-declare"><code>void lwip_netconn_do_delconn        (void *m);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="lwip_netconn_do_bind">Variable <span>lwip_netconn_do_bind</span></h4>
      <pre class="doc-declare"><code>void lwip_netconn_do_bind           (void *m);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="lwip_netconn_do_bind_if">Variable <span>lwip_netconn_do_bind_if</span></h4>
      <pre class="doc-declare"><code>void lwip_netconn_do_bind_if        (void *m);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="lwip_netconn_do_connect">Variable <span>lwip_netconn_do_connect</span></h4>
      <pre class="doc-declare"><code>void lwip_netconn_do_connect        (void *m);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="lwip_netconn_do_disconnect">Variable <span>lwip_netconn_do_disconnect</span></h4>
      <pre class="doc-declare"><code>void lwip_netconn_do_disconnect     (void *m);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="lwip_netconn_do_listen">Variable <span>lwip_netconn_do_listen</span></h4>
      <pre class="doc-declare"><code>void lwip_netconn_do_listen         (void *m);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="lwip_netconn_do_send">Variable <span>lwip_netconn_do_send</span></h4>
      <pre class="doc-declare"><code>void lwip_netconn_do_send           (void *m);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="lwip_netconn_do_recv">Variable <span>lwip_netconn_do_recv</span></h4>
      <pre class="doc-declare"><code>void lwip_netconn_do_recv           (void *m);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="lwip_netconn_do_accepted">Variable <span>lwip_netconn_do_accepted</span></h4>
      <pre class="doc-declare"><code>void lwip_netconn_do_accepted       (void *m);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="lwip_netconn_do_write">Variable <span>lwip_netconn_do_write</span></h4>
      <pre class="doc-declare"><code>void lwip_netconn_do_write          (void *m);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="lwip_netconn_do_getaddr">Variable <span>lwip_netconn_do_getaddr</span></h4>
      <pre class="doc-declare"><code>void lwip_netconn_do_getaddr        (void *m);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="lwip_netconn_do_close">Variable <span>lwip_netconn_do_close</span></h4>
      <pre class="doc-declare"><code>void lwip_netconn_do_close          (void *m);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="lwip_netconn_do_shutdown">Variable <span>lwip_netconn_do_shutdown</span></h4>
      <pre class="doc-declare"><code>void lwip_netconn_do_shutdown       (void *m);</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="netconn">Variable <span>netconn</span></h4>
      <pre class="doc-declare"><code>struct netconn* netconn_alloc(enum netconn_type t, netconn_callback callback);</code></pre>
      <pre class="doc-comment"></pre>
      <h3 id="consts">Consts</h3>
      
      <h3 id="types">Types</h3>
      
      <h3 id="typedefs">Typedefs</h3>
      

      <h4 id="netifapi_void_fn">Typedef <span>netifapi_void_fn</span></h4>
      <pre class="doc-declare"><code>typedef void (*netifapi_void_fn)(struct netif *netif);
</code></pre>
      <pre class="doc-comment"></pre>

      <h4 id="netifapi_errt_fn">Typedef <span>netifapi_errt_fn</span></h4>
      <pre class="doc-declare"><code>typedef err_t (*netifapi_errt_fn)(struct netif *netif);
</code></pre>
      <pre class="doc-comment"></pre>
    </div>
  </body>
</html>
            